package com.iplant.ams.service.po.ams;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

@DBBasePO(TableName = "ams_supplier_info", CheckName = {"Code"}, CodeAuto = true, CodePrefix = "SPLR_", CodeNum = 6)
public class AMSSupplierInfo extends BasePO implements Serializable {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 联系人姓名
     */
    @DBField
    @DBCondition(ParamName ="ContactName" ,MustCondition = false)
    public String ContactName = "";

    /**
     * 联系电话
     */
    @DBField
    public String ContactNumber = "";

    /**
     * 开户行
     */
    @DBField
    public String OpeningBank = "";



    /**
     * 付款账户
     */
    @DBField
    public String PaymentAccount = "";


    public AMSSupplierInfo() {
        super();
    }

    @JsonProperty("ContractName")
    public String getContactName() {
        return ContactName;
    }

    public void setContactName(String contactName) {
        ContactName = contactName;
    }

    @JsonProperty("ContactNumber")
    public String getContactNumber() {
        return ContactNumber;
    }

    public void setContactNumber(String contactNumber) {
        ContactNumber = contactNumber;
    }

    @JsonProperty("OpeningBank")
    public String getOpeningBank() {
        return OpeningBank;
    }

    public void setOpeningBank(String openingBank) {
        OpeningBank = openingBank;
    }

    @JsonProperty("PaymentAccount")
    public String getPaymentAccount() {
        return PaymentAccount;
    }

    public void setPaymentAccount(String paymentAccount) {
        PaymentAccount = paymentAccount;
    }
}
